package com.hsnn.medstgmini.trading.pur.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 
 *@category 到货信息
 *@author 韩守松
 *@date 2015年11月28日 
 */
@Entity
@Table(name = "pur_aoginfo")
public class PurAoginfo {
	@Id
	@Column(name = "recp_info_id")
	private String recpInfoId;//到货信息ID
	
	@Column(name = "hosp_code")
	private String hospCode;//医疗机构编码

	@Column(name = "hosp_name")	
	private String hospName;//医疗机构名称

	@Column(name = "hosp_spel_code")	
	private String hospSpelCode;//医疗机构拼音码

	@Column(name = "hosp_status")	
	private Integer hospStatus;//医疗机构状态

	@Column(name = "hosp_area_id")	
	private String hospAreaId;//医疗机构地区

	@Column(name = "hosp_area_name")	
	private String hospAreaName;//医疗机构地区名称

	@Column(name = "hosp_ar_shortname")	
	private String hospArShortname;//医疗机构地区简称

	@Column(name = "hosp_ar_fullname")	
	private String hospArFullname;//医疗机构地区全称
		
	@Column(name = "user_id")
	private String userId;//采购用户ID
	
	@Column(name = "goods_code")
	private String goodsCode;//商品号

	@Column(name = "del_comp_code")	
	private String delCompCode;//配送企业编码

	@Column(name = "del_comp_name")	
	private String delCompName;//配送企业名称

	@Column(name = "del_comp_name_spel")	
	private String delCompNameSpel;//配送企业拼音码

	@Column(name = "del_comp_status")	
	private Integer delCompStatus;//配送企业状态
	
	@Column(name = "approve_code")	
	private String approveCode;//批号
	
	@Column(name="credential")
	private String credential;//有效期
	
	@Column(name = "pro_price")
	private Double proPrice;//采购价
	
	@Column(name = "total_amount")
	private Integer totalAmount;//总数量
	
	@Column(name = "return_count")
	private Integer returnCount;//累计到货数量

	@Column(name = "order_del_timespace")	
	private Integer orderDelTimespace;//订单提交到配送时间差(分钟)

	@Column(name = "confirm_del_timespace")	
	private Integer confirmDelTimespace;//订单确认到配送时间差(分钟)
	
	@Column(name = "del_recp_timespace")	
	private Integer delRecpTimespace;//订单配送到到货时间差(分钟)
	
	@Column(name = "upd_time")	
	private Date updTime;//更新时间
	
	@Column(name = "upd_user")
	private String updUser;//更新人
	
	
	@Column(name = "area_id")
	private String areaId;//
	
	
	@Column(name = "area_name")
	private String areaName;//
	
	
	@Column(name = "ar_shortname")
	private String arShortname;//
	
	
	@Column(name = "ar_fullname")
	private String arFullname;//
	
	
	@Column(name = "proj_id")
	private String projId;//
	
	
	@Column(name = "proj_name")
	private String projName;//
	
	
	@Column(name = "proj_starttime")
	private Date projStarttime;//
	
	
	@Column(name = "proj_endtime")
	private Date projEndtime;//
	
	
	@Column(name = "proj_status")
	private Integer projStatus;//
	
	
	@Column(name = "qualityspec_id")
	private String qualityspecId;//
	
	
	@Column(name = "drug_code")
	private String drugCode;//
	
	
	@Column(name = "qualityspec_name")
	private String qualityspecName;//
	
	
	@Column(name = "qualityspec_name_spel")
	private String qualityspecNameSpel;//
	
	
	@Column(name = "qualityspec_name_eng")
	private String qualityspecNameEng;//
	
	
	@Column(name = "form_name")
	private String formName;//
	
	
	@Column(name = "spec_name")
	private String specName;//
	
	
	@Column(name = "qualityspec_status")
	private Integer qualityspecStatus;//
	
	
	@Column(name = "bus_name")
	private String busName;//
	
	
	@Column(name = "factor")
	private Integer factor;//
	
	
	@Column(name = "unit_name")
	private String unitName;//
	
	
	@Column(name = "material_name")
	private String materialName;//
	
	
	@Column(name = "prod_compcode")
	private String prodCompcode;//
	
	
	@Column(name = "prod_compname")
	private String prodCompname;//
	
	
	@Column(name = "prod_compname_spel")
	private String prodCompnameSpel;//
	
	
	@Column(name = "prod_compstatus")
	private Integer prodCompstatus;//
	
	
	@Column(name = "cat_comp_code")
	private String catCompCode;//
	
	
	@Column(name = "cat_comp_name")
	private String catCompName;//
	
	
	@Column(name = "cat_comp_name_spel")
	private String catCompNameSpel;//
	
	
	@Column(name = "cat_comp_status")
	private Integer catCompStatus;//
	
	
	@Column(name = "use_range")
	private Integer useRange;//
	
	
	@Column(name = "drug_attr")
	private Integer drugAttr;//
	
	
	@Column(name = "goods_source")
	private Integer goodsSource;//
	
	
	@Column(name = "pattern_type")
	private Integer patternType;//
	
	
	@Column(name = "is_healthcare")
	private Integer isHealthcare;//
	
	
	@Column(name = "is_agriculture")
	private Integer isAgriculture;//
	
	
	@Column(name = "is_lowprice")
	private Integer isLowprice;//
	
	
	@Column(name = "is_smallprice")
	private Integer isSmallprice;//
	
	
	@Column(name = "is_smallsource")
	private Integer isSmallsource;//
	
	
	@Column(name = "is_longtime_plan")
	private Integer isLongtime_plan;//
	
	
	@Column(name = "drug_status")
	private Integer drugStatus;//
	
	
	@Column(name = "drug_cat")
	private Integer drugCat;//
	
	
	@Column(name = "pro_price_limit")
	private Double proPriceLimit;//
	
	
	@Column(name = "retail_price_limit")
	private Double retailPriceLimit;//
	
	
	@Column(name = "hang_price")
	private Double hangPrice;//
	
	
	@Column(name = "ref_price")
	private Double refPrice;//
	
	
	@Column(name = "healthcare_price")
	private Double healthcarePrice;//
	
	
	@Column(name = "pic_url")
	private String picUrl;//
	
	
	@Column(name = "pic_short_url")
	private String picShortUrl;//
	
	
	@Column(name = "status")
	private Integer status;//


	public String getRecpInfoId() {
		return recpInfoId;
	}


	public void setRecpInfoId(String recpInfoId) {
		this.recpInfoId = recpInfoId;
	}


	public String getHospCode() {
		return hospCode;
	}


	public void setHospCode(String hospCode) {
		this.hospCode = hospCode;
	}


	public String getHospName() {
		return hospName;
	}


	public void setHospName(String hospName) {
		this.hospName = hospName;
	}


	public String getHospSpelCode() {
		return hospSpelCode;
	}


	public void setHospSpelCode(String hospSpelCode) {
		this.hospSpelCode = hospSpelCode;
	}


	public Integer getHospStatus() {
		return hospStatus;
	}


	public void setHospStatus(Integer hospStatus) {
		this.hospStatus = hospStatus;
	}


	public String getHospAreaId() {
		return hospAreaId;
	}


	public void setHospAreaId(String hospAreaId) {
		this.hospAreaId = hospAreaId;
	}


	public String getHospAreaName() {
		return hospAreaName;
	}


	public void setHospAreaName(String hospAreaName) {
		this.hospAreaName = hospAreaName;
	}


	public String getHospArShortname() {
		return hospArShortname;
	}


	public void setHospArShortname(String hospArShortname) {
		this.hospArShortname = hospArShortname;
	}


	public String getHospArFullname() {
		return hospArFullname;
	}


	public void setHospArFullname(String hospArFullname) {
		this.hospArFullname = hospArFullname;
	}


	public String getUserId() {
		return userId;
	}


	public void setUserId(String userId) {
		this.userId = userId;
	}


	public String getGoodsCode() {
		return goodsCode;
	}


	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}


	public String getDelCompCode() {
		return delCompCode;
	}


	public void setDelCompCode(String delCompCode) {
		this.delCompCode = delCompCode;
	}


	public String getDelCompName() {
		return delCompName;
	}


	public void setDelCompName(String delCompName) {
		this.delCompName = delCompName;
	}


	public String getDelCompNameSpel() {
		return delCompNameSpel;
	}


	public void setDelCompNameSpel(String delCompNameSpel) {
		this.delCompNameSpel = delCompNameSpel;
	}


	public Integer getDelCompStatus() {
		return delCompStatus;
	}


	public void setDelCompStatus(Integer delCompStatus) {
		this.delCompStatus = delCompStatus;
	}


	public String getApproveCode() {
		return approveCode;
	}


	public void setApproveCode(String approveCode) {
		this.approveCode = approveCode;
	}


	public Double getProPrice() {
		return proPrice;
	}


	public void setProPrice(Double proPrice) {
		this.proPrice = proPrice;
	}


	public Integer getTotalAmount() {
		return totalAmount;
	}


	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}


	public Integer getOrderDelTimespace() {
		return orderDelTimespace;
	}


	public void setOrderDelTimespace(Integer orderDelTimespace) {
		this.orderDelTimespace = orderDelTimespace;
	}


	public Integer getConfirmDelTimespace() {
		return confirmDelTimespace;
	}


	public void setConfirmDelTimespace(Integer confirmDelTimespace) {
		this.confirmDelTimespace = confirmDelTimespace;
	}


	public Integer getDelRecpTimespace() {
		return delRecpTimespace;
	}


	public void setDelRecpTimespace(Integer delRecpTimespace) {
		this.delRecpTimespace = delRecpTimespace;
	}


	public Date getUpdTime() {
		return updTime;
	}


	public void setUpdTime(Date updTime) {
		this.updTime = updTime;
	}


	public String getUpdUser() {
		return updUser;
	}


	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}


	public String getAreaId() {
		return areaId;
	}


	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}


	public String getAreaName() {
		return areaName;
	}


	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}


	public String getArShortname() {
		return arShortname;
	}


	public void setArShortname(String arShortname) {
		this.arShortname = arShortname;
	}


	public String getArFullname() {
		return arFullname;
	}


	public void setArFullname(String arFullname) {
		this.arFullname = arFullname;
	}


	public String getProjId() {
		return projId;
	}


	public void setProjId(String projId) {
		this.projId = projId;
	}


	public String getProjName() {
		return projName;
	}


	public void setProjName(String projName) {
		this.projName = projName;
	}


	public Date getProjStarttime() {
		return projStarttime;
	}


	public void setProjStarttime(Date projStarttime) {
		this.projStarttime = projStarttime;
	}


	public Date getProjEndtime() {
		return projEndtime;
	}


	public void setProjEndtime(Date projEndtime) {
		this.projEndtime = projEndtime;
	}


	public Integer getProjStatus() {
		return projStatus;
	}


	public void setProjStatus(Integer projStatus) {
		this.projStatus = projStatus;
	}


	public String getQualityspecId() {
		return qualityspecId;
	}


	public void setQualityspecId(String qualityspecId) {
		this.qualityspecId = qualityspecId;
	}


	public String getDrugCode() {
		return drugCode;
	}


	public void setDrugCode(String drugCode) {
		this.drugCode = drugCode;
	}


	public String getQualityspecName() {
		return qualityspecName;
	}


	public void setQualityspecName(String qualityspecName) {
		this.qualityspecName = qualityspecName;
	}


	public String getQualityspecNameSpel() {
		return qualityspecNameSpel;
	}


	public void setQualityspecNameSpel(String qualityspecNameSpel) {
		this.qualityspecNameSpel = qualityspecNameSpel;
	}


	public String getQualityspecNameEng() {
		return qualityspecNameEng;
	}


	public void setQualityspecNameEng(String qualityspecNameEng) {
		this.qualityspecNameEng = qualityspecNameEng;
	}


	public String getFormName() {
		return formName;
	}


	public void setFormName(String formName) {
		this.formName = formName;
	}


	public String getSpecName() {
		return specName;
	}


	public void setSpecName(String specName) {
		this.specName = specName;
	}


	public Integer getQualityspecStatus() {
		return qualityspecStatus;
	}


	public void setQualityspecStatus(Integer qualityspecStatus) {
		this.qualityspecStatus = qualityspecStatus;
	}


	public String getBusName() {
		return busName;
	}


	public void setBusName(String busName) {
		this.busName = busName;
	}


	public Integer getFactor() {
		return factor;
	}


	public void setFactor(Integer factor) {
		this.factor = factor;
	}


	public String getUnitName() {
		return unitName;
	}


	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}


	public String getMaterialName() {
		return materialName;
	}


	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}


	public String getProdCompcode() {
		return prodCompcode;
	}


	public void setProdCompcode(String prodCompcode) {
		this.prodCompcode = prodCompcode;
	}


	public String getProdCompname() {
		return prodCompname;
	}


	public void setProdCompname(String prodCompname) {
		this.prodCompname = prodCompname;
	}


	public String getProdCompnameSpel() {
		return prodCompnameSpel;
	}


	public void setProdCompnameSpel(String prodCompnameSpel) {
		this.prodCompnameSpel = prodCompnameSpel;
	}


	public Integer getProdCompstatus() {
		return prodCompstatus;
	}


	public void setProdCompstatus(Integer prodCompstatus) {
		this.prodCompstatus = prodCompstatus;
	}


	public String getCatCompCode() {
		return catCompCode;
	}


	public void setCatCompCode(String catCompCode) {
		this.catCompCode = catCompCode;
	}


	public String getCatCompName() {
		return catCompName;
	}


	public void setCatCompName(String catCompName) {
		this.catCompName = catCompName;
	}


	public String getCatCompNameSpel() {
		return catCompNameSpel;
	}


	public void setCatCompNameSpel(String catCompNameSpel) {
		this.catCompNameSpel = catCompNameSpel;
	}


	public Integer getCatCompStatus() {
		return catCompStatus;
	}


	public void setCatCompStatus(Integer catCompStatus) {
		this.catCompStatus = catCompStatus;
	}


	public Integer getUseRange() {
		return useRange;
	}


	public void setUseRange(Integer useRange) {
		this.useRange = useRange;
	}


	public Integer getDrugAttr() {
		return drugAttr;
	}


	public void setDrugAttr(Integer drugAttr) {
		this.drugAttr = drugAttr;
	}


	public Integer getGoodsSource() {
		return goodsSource;
	}


	public void setGoodsSource(Integer goodsSource) {
		this.goodsSource = goodsSource;
	}


	public Integer getPatternType() {
		return patternType;
	}


	public void setPatternType(Integer patternType) {
		this.patternType = patternType;
	}


	public Integer getIsHealthcare() {
		return isHealthcare;
	}


	public void setIsHealthcare(Integer isHealthcare) {
		this.isHealthcare = isHealthcare;
	}


	public Integer getIsAgriculture() {
		return isAgriculture;
	}


	public void setIsAgriculture(Integer isAgriculture) {
		this.isAgriculture = isAgriculture;
	}


	public Integer getIsLowprice() {
		return isLowprice;
	}


	public void setIsLowprice(Integer isLowprice) {
		this.isLowprice = isLowprice;
	}


	public Integer getIsSmallprice() {
		return isSmallprice;
	}


	public void setIsSmallprice(Integer isSmallprice) {
		this.isSmallprice = isSmallprice;
	}


	public Integer getIsSmallsource() {
		return isSmallsource;
	}


	public void setIsSmallsource(Integer isSmallsource) {
		this.isSmallsource = isSmallsource;
	}


	public Integer getIsLongtime_plan() {
		return isLongtime_plan;
	}


	public void setIsLongtime_plan(Integer isLongtime_plan) {
		this.isLongtime_plan = isLongtime_plan;
	}


	public Integer getDrugStatus() {
		return drugStatus;
	}


	public void setDrugStatus(Integer drugStatus) {
		this.drugStatus = drugStatus;
	}


	public Integer getDrugCat() {
		return drugCat;
	}


	public void setDrugCat(Integer drugCat) {
		this.drugCat = drugCat;
	}


	public Double getProPriceLimit() {
		return proPriceLimit;
	}


	public void setProPriceLimit(Double proPriceLimit) {
		this.proPriceLimit = proPriceLimit;
	}


	public Double getRetailPriceLimit() {
		return retailPriceLimit;
	}


	public void setRetailPriceLimit(Double retailPriceLimit) {
		this.retailPriceLimit = retailPriceLimit;
	}


	public Double getHangPrice() {
		return hangPrice;
	}


	public void setHangPrice(Double hangPrice) {
		this.hangPrice = hangPrice;
	}


	public Double getRefPrice() {
		return refPrice;
	}


	public void setRefPrice(Double refPrice) {
		this.refPrice = refPrice;
	}


	public Double getHealthcarePrice() {
		return healthcarePrice;
	}


	public void setHealthcarePrice(Double healthcarePrice) {
		this.healthcarePrice = healthcarePrice;
	}


	public String getPicUrl() {
		return picUrl;
	}


	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}


	public String getPicShortUrl() {
		return picShortUrl;
	}


	public void setPicShortUrl(String picShortUrl) {
		this.picShortUrl = picShortUrl;
	}


	public Integer getStatus() {
		return status;
	}


	public void setStatus(Integer status) {
		this.status = status;
	}


	public Integer getReturnCount() {
		return returnCount;
	}


	public void setReturnCount(Integer returnCount) {
		this.returnCount = returnCount;
	}


	public String getCredential() {
		return credential;
	}


	public void setCredential(String credential) {
		this.credential = credential;
	}


	@Override
	public String toString() {
		return "PurAoginfo [recpInfoId=" + recpInfoId + ", hospCode="
				+ hospCode + ", hospName=" + hospName + ", hospSpelCode="
				+ hospSpelCode + ", hospStatus=" + hospStatus + ", hospAreaId="
				+ hospAreaId + ", hospAreaName=" + hospAreaName
				+ ", hospArShortname=" + hospArShortname + ", hospArFullname="
				+ hospArFullname + ", userId=" + userId + ", goodsCode="
				+ goodsCode + ", delCompCode=" + delCompCode + ", delCompName="
				+ delCompName + ", delCompNameSpel=" + delCompNameSpel
				+ ", delCompStatus=" + delCompStatus + ", approveCode="
				+ approveCode + ", credential=" + credential + ", proPrice="
				+ proPrice + ", totalAmount=" + totalAmount + ", returnCount="
				+ returnCount + ", orderDelTimespace=" + orderDelTimespace
				+ ", confirmDelTimespace=" + confirmDelTimespace
				+ ", delRecpTimespace=" + delRecpTimespace + ", updTime="
				+ updTime + ", updUser=" + updUser + ", areaId=" + areaId
				+ ", areaName=" + areaName + ", arShortname=" + arShortname
				+ ", arFullname=" + arFullname + ", projId=" + projId
				+ ", projName=" + projName + ", projStarttime=" + projStarttime
				+ ", projEndtime=" + projEndtime + ", projStatus=" + projStatus
				+ ", qualityspecId=" + qualityspecId + ", drugCode=" + drugCode
				+ ", qualityspecName=" + qualityspecName
				+ ", qualityspecNameSpel=" + qualityspecNameSpel
				+ ", qualityspecNameEng=" + qualityspecNameEng + ", formName="
				+ formName + ", specName=" + specName + ", qualityspecStatus="
				+ qualityspecStatus + ", busName=" + busName + ", factor="
				+ factor + ", unitName=" + unitName + ", materialName="
				+ materialName + ", prodCompcode=" + prodCompcode
				+ ", prodCompname=" + prodCompname + ", prodCompnameSpel="
				+ prodCompnameSpel + ", prodCompstatus=" + prodCompstatus
				+ ", catCompCode=" + catCompCode + ", catCompName="
				+ catCompName + ", catCompNameSpel=" + catCompNameSpel
				+ ", catCompStatus=" + catCompStatus + ", useRange=" + useRange
				+ ", drugAttr=" + drugAttr + ", goodsSource=" + goodsSource
				+ ", patternType=" + patternType + ", isHealthcare="
				+ isHealthcare + ", isAgriculture=" + isAgriculture
				+ ", isLowprice=" + isLowprice + ", isSmallprice="
				+ isSmallprice + ", isSmallsource=" + isSmallsource
				+ ", isLongtime_plan=" + isLongtime_plan + ", drugStatus="
				+ drugStatus + ", drugCat=" + drugCat + ", proPriceLimit="
				+ proPriceLimit + ", retailPriceLimit=" + retailPriceLimit
				+ ", hangPrice=" + hangPrice + ", refPrice=" + refPrice
				+ ", healthcarePrice=" + healthcarePrice + ", picUrl=" + picUrl
				+ ", picShortUrl=" + picShortUrl + ", status=" + status + "]";
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((approveCode == null) ? 0 : approveCode.hashCode());
		result = prime * result
				+ ((arFullname == null) ? 0 : arFullname.hashCode());
		result = prime * result
				+ ((arShortname == null) ? 0 : arShortname.hashCode());
		result = prime * result + ((areaId == null) ? 0 : areaId.hashCode());
		result = prime * result
				+ ((areaName == null) ? 0 : areaName.hashCode());
		result = prime * result + ((busName == null) ? 0 : busName.hashCode());
		result = prime * result
				+ ((catCompCode == null) ? 0 : catCompCode.hashCode());
		result = prime * result
				+ ((catCompName == null) ? 0 : catCompName.hashCode());
		result = prime * result
				+ ((catCompNameSpel == null) ? 0 : catCompNameSpel.hashCode());
		result = prime * result
				+ ((catCompStatus == null) ? 0 : catCompStatus.hashCode());
		result = prime
				* result
				+ ((confirmDelTimespace == null) ? 0 : confirmDelTimespace
						.hashCode());
		result = prime * result
				+ ((credential == null) ? 0 : credential.hashCode());
		result = prime * result
				+ ((delCompCode == null) ? 0 : delCompCode.hashCode());
		result = prime * result
				+ ((delCompName == null) ? 0 : delCompName.hashCode());
		result = prime * result
				+ ((delCompNameSpel == null) ? 0 : delCompNameSpel.hashCode());
		result = prime * result
				+ ((delCompStatus == null) ? 0 : delCompStatus.hashCode());
		result = prime
				* result
				+ ((delRecpTimespace == null) ? 0 : delRecpTimespace.hashCode());
		result = prime * result
				+ ((drugAttr == null) ? 0 : drugAttr.hashCode());
		result = prime * result + ((drugCat == null) ? 0 : drugCat.hashCode());
		result = prime * result
				+ ((drugCode == null) ? 0 : drugCode.hashCode());
		result = prime * result
				+ ((drugStatus == null) ? 0 : drugStatus.hashCode());
		result = prime * result + ((factor == null) ? 0 : factor.hashCode());
		result = prime * result
				+ ((formName == null) ? 0 : formName.hashCode());
		result = prime * result
				+ ((goodsCode == null) ? 0 : goodsCode.hashCode());
		result = prime * result
				+ ((goodsSource == null) ? 0 : goodsSource.hashCode());
		result = prime * result
				+ ((hangPrice == null) ? 0 : hangPrice.hashCode());
		result = prime * result
				+ ((healthcarePrice == null) ? 0 : healthcarePrice.hashCode());
		result = prime * result
				+ ((hospArFullname == null) ? 0 : hospArFullname.hashCode());
		result = prime * result
				+ ((hospArShortname == null) ? 0 : hospArShortname.hashCode());
		result = prime * result
				+ ((hospAreaId == null) ? 0 : hospAreaId.hashCode());
		result = prime * result
				+ ((hospAreaName == null) ? 0 : hospAreaName.hashCode());
		result = prime * result
				+ ((hospCode == null) ? 0 : hospCode.hashCode());
		result = prime * result
				+ ((hospName == null) ? 0 : hospName.hashCode());
		result = prime * result
				+ ((hospSpelCode == null) ? 0 : hospSpelCode.hashCode());
		result = prime * result
				+ ((hospStatus == null) ? 0 : hospStatus.hashCode());
		result = prime * result
				+ ((isAgriculture == null) ? 0 : isAgriculture.hashCode());
		result = prime * result
				+ ((isHealthcare == null) ? 0 : isHealthcare.hashCode());
		result = prime * result
				+ ((isLongtime_plan == null) ? 0 : isLongtime_plan.hashCode());
		result = prime * result
				+ ((isLowprice == null) ? 0 : isLowprice.hashCode());
		result = prime * result
				+ ((isSmallprice == null) ? 0 : isSmallprice.hashCode());
		result = prime * result
				+ ((isSmallsource == null) ? 0 : isSmallsource.hashCode());
		result = prime * result
				+ ((materialName == null) ? 0 : materialName.hashCode());
		result = prime
				* result
				+ ((orderDelTimespace == null) ? 0 : orderDelTimespace
						.hashCode());
		result = prime * result
				+ ((patternType == null) ? 0 : patternType.hashCode());
		result = prime * result
				+ ((picShortUrl == null) ? 0 : picShortUrl.hashCode());
		result = prime * result + ((picUrl == null) ? 0 : picUrl.hashCode());
		result = prime * result
				+ ((proPrice == null) ? 0 : proPrice.hashCode());
		result = prime * result
				+ ((proPriceLimit == null) ? 0 : proPriceLimit.hashCode());
		result = prime * result
				+ ((prodCompcode == null) ? 0 : prodCompcode.hashCode());
		result = prime * result
				+ ((prodCompname == null) ? 0 : prodCompname.hashCode());
		result = prime
				* result
				+ ((prodCompnameSpel == null) ? 0 : prodCompnameSpel.hashCode());
		result = prime * result
				+ ((prodCompstatus == null) ? 0 : prodCompstatus.hashCode());
		result = prime * result
				+ ((projEndtime == null) ? 0 : projEndtime.hashCode());
		result = prime * result + ((projId == null) ? 0 : projId.hashCode());
		result = prime * result
				+ ((projName == null) ? 0 : projName.hashCode());
		result = prime * result
				+ ((projStarttime == null) ? 0 : projStarttime.hashCode());
		result = prime * result
				+ ((projStatus == null) ? 0 : projStatus.hashCode());
		result = prime * result
				+ ((qualityspecId == null) ? 0 : qualityspecId.hashCode());
		result = prime * result
				+ ((qualityspecName == null) ? 0 : qualityspecName.hashCode());
		result = prime
				* result
				+ ((qualityspecNameEng == null) ? 0 : qualityspecNameEng
						.hashCode());
		result = prime
				* result
				+ ((qualityspecNameSpel == null) ? 0 : qualityspecNameSpel
						.hashCode());
		result = prime
				* result
				+ ((qualityspecStatus == null) ? 0 : qualityspecStatus
						.hashCode());
		result = prime * result
				+ ((recpInfoId == null) ? 0 : recpInfoId.hashCode());
		result = prime * result
				+ ((refPrice == null) ? 0 : refPrice.hashCode());
		result = prime
				* result
				+ ((retailPriceLimit == null) ? 0 : retailPriceLimit.hashCode());
		result = prime * result
				+ ((returnCount == null) ? 0 : returnCount.hashCode());
		result = prime * result
				+ ((specName == null) ? 0 : specName.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result
				+ ((totalAmount == null) ? 0 : totalAmount.hashCode());
		result = prime * result
				+ ((unitName == null) ? 0 : unitName.hashCode());
		result = prime * result + ((updTime == null) ? 0 : updTime.hashCode());
		result = prime * result + ((updUser == null) ? 0 : updUser.hashCode());
		result = prime * result
				+ ((useRange == null) ? 0 : useRange.hashCode());
		result = prime * result + ((userId == null) ? 0 : userId.hashCode());
		return result;
	}


	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PurAoginfo other = (PurAoginfo) obj;
		if (approveCode == null) {
			if (other.approveCode != null)
				return false;
		} else if (!approveCode.equals(other.approveCode))
			return false;
		if (arFullname == null) {
			if (other.arFullname != null)
				return false;
		} else if (!arFullname.equals(other.arFullname))
			return false;
		if (arShortname == null) {
			if (other.arShortname != null)
				return false;
		} else if (!arShortname.equals(other.arShortname))
			return false;
		if (areaId == null) {
			if (other.areaId != null)
				return false;
		} else if (!areaId.equals(other.areaId))
			return false;
		if (areaName == null) {
			if (other.areaName != null)
				return false;
		} else if (!areaName.equals(other.areaName))
			return false;
		if (busName == null) {
			if (other.busName != null)
				return false;
		} else if (!busName.equals(other.busName))
			return false;
		if (catCompCode == null) {
			if (other.catCompCode != null)
				return false;
		} else if (!catCompCode.equals(other.catCompCode))
			return false;
		if (catCompName == null) {
			if (other.catCompName != null)
				return false;
		} else if (!catCompName.equals(other.catCompName))
			return false;
		if (catCompNameSpel == null) {
			if (other.catCompNameSpel != null)
				return false;
		} else if (!catCompNameSpel.equals(other.catCompNameSpel))
			return false;
		if (catCompStatus == null) {
			if (other.catCompStatus != null)
				return false;
		} else if (!catCompStatus.equals(other.catCompStatus))
			return false;
		if (confirmDelTimespace == null) {
			if (other.confirmDelTimespace != null)
				return false;
		} else if (!confirmDelTimespace.equals(other.confirmDelTimespace))
			return false;
		if (credential == null) {
			if (other.credential != null)
				return false;
		} else if (!credential.equals(other.credential))
			return false;
		if (delCompCode == null) {
			if (other.delCompCode != null)
				return false;
		} else if (!delCompCode.equals(other.delCompCode))
			return false;
		if (delCompName == null) {
			if (other.delCompName != null)
				return false;
		} else if (!delCompName.equals(other.delCompName))
			return false;
		if (delCompNameSpel == null) {
			if (other.delCompNameSpel != null)
				return false;
		} else if (!delCompNameSpel.equals(other.delCompNameSpel))
			return false;
		if (delCompStatus == null) {
			if (other.delCompStatus != null)
				return false;
		} else if (!delCompStatus.equals(other.delCompStatus))
			return false;
		if (delRecpTimespace == null) {
			if (other.delRecpTimespace != null)
				return false;
		} else if (!delRecpTimespace.equals(other.delRecpTimespace))
			return false;
		if (drugAttr == null) {
			if (other.drugAttr != null)
				return false;
		} else if (!drugAttr.equals(other.drugAttr))
			return false;
		if (drugCat == null) {
			if (other.drugCat != null)
				return false;
		} else if (!drugCat.equals(other.drugCat))
			return false;
		if (drugCode == null) {
			if (other.drugCode != null)
				return false;
		} else if (!drugCode.equals(other.drugCode))
			return false;
		if (drugStatus == null) {
			if (other.drugStatus != null)
				return false;
		} else if (!drugStatus.equals(other.drugStatus))
			return false;
		if (factor == null) {
			if (other.factor != null)
				return false;
		} else if (!factor.equals(other.factor))
			return false;
		if (formName == null) {
			if (other.formName != null)
				return false;
		} else if (!formName.equals(other.formName))
			return false;
		if (goodsCode == null) {
			if (other.goodsCode != null)
				return false;
		} else if (!goodsCode.equals(other.goodsCode))
			return false;
		if (goodsSource == null) {
			if (other.goodsSource != null)
				return false;
		} else if (!goodsSource.equals(other.goodsSource))
			return false;
		if (hangPrice == null) {
			if (other.hangPrice != null)
				return false;
		} else if (!hangPrice.equals(other.hangPrice))
			return false;
		if (healthcarePrice == null) {
			if (other.healthcarePrice != null)
				return false;
		} else if (!healthcarePrice.equals(other.healthcarePrice))
			return false;
		if (hospArFullname == null) {
			if (other.hospArFullname != null)
				return false;
		} else if (!hospArFullname.equals(other.hospArFullname))
			return false;
		if (hospArShortname == null) {
			if (other.hospArShortname != null)
				return false;
		} else if (!hospArShortname.equals(other.hospArShortname))
			return false;
		if (hospAreaId == null) {
			if (other.hospAreaId != null)
				return false;
		} else if (!hospAreaId.equals(other.hospAreaId))
			return false;
		if (hospAreaName == null) {
			if (other.hospAreaName != null)
				return false;
		} else if (!hospAreaName.equals(other.hospAreaName))
			return false;
		if (hospCode == null) {
			if (other.hospCode != null)
				return false;
		} else if (!hospCode.equals(other.hospCode))
			return false;
		if (hospName == null) {
			if (other.hospName != null)
				return false;
		} else if (!hospName.equals(other.hospName))
			return false;
		if (hospSpelCode == null) {
			if (other.hospSpelCode != null)
				return false;
		} else if (!hospSpelCode.equals(other.hospSpelCode))
			return false;
		if (hospStatus == null) {
			if (other.hospStatus != null)
				return false;
		} else if (!hospStatus.equals(other.hospStatus))
			return false;
		if (isAgriculture == null) {
			if (other.isAgriculture != null)
				return false;
		} else if (!isAgriculture.equals(other.isAgriculture))
			return false;
		if (isHealthcare == null) {
			if (other.isHealthcare != null)
				return false;
		} else if (!isHealthcare.equals(other.isHealthcare))
			return false;
		if (isLongtime_plan == null) {
			if (other.isLongtime_plan != null)
				return false;
		} else if (!isLongtime_plan.equals(other.isLongtime_plan))
			return false;
		if (isLowprice == null) {
			if (other.isLowprice != null)
				return false;
		} else if (!isLowprice.equals(other.isLowprice))
			return false;
		if (isSmallprice == null) {
			if (other.isSmallprice != null)
				return false;
		} else if (!isSmallprice.equals(other.isSmallprice))
			return false;
		if (isSmallsource == null) {
			if (other.isSmallsource != null)
				return false;
		} else if (!isSmallsource.equals(other.isSmallsource))
			return false;
		if (materialName == null) {
			if (other.materialName != null)
				return false;
		} else if (!materialName.equals(other.materialName))
			return false;
		if (orderDelTimespace == null) {
			if (other.orderDelTimespace != null)
				return false;
		} else if (!orderDelTimespace.equals(other.orderDelTimespace))
			return false;
		if (patternType == null) {
			if (other.patternType != null)
				return false;
		} else if (!patternType.equals(other.patternType))
			return false;
		if (picShortUrl == null) {
			if (other.picShortUrl != null)
				return false;
		} else if (!picShortUrl.equals(other.picShortUrl))
			return false;
		if (picUrl == null) {
			if (other.picUrl != null)
				return false;
		} else if (!picUrl.equals(other.picUrl))
			return false;
		if (proPrice == null) {
			if (other.proPrice != null)
				return false;
		} else if (!proPrice.equals(other.proPrice))
			return false;
		if (proPriceLimit == null) {
			if (other.proPriceLimit != null)
				return false;
		} else if (!proPriceLimit.equals(other.proPriceLimit))
			return false;
		if (prodCompcode == null) {
			if (other.prodCompcode != null)
				return false;
		} else if (!prodCompcode.equals(other.prodCompcode))
			return false;
		if (prodCompname == null) {
			if (other.prodCompname != null)
				return false;
		} else if (!prodCompname.equals(other.prodCompname))
			return false;
		if (prodCompnameSpel == null) {
			if (other.prodCompnameSpel != null)
				return false;
		} else if (!prodCompnameSpel.equals(other.prodCompnameSpel))
			return false;
		if (prodCompstatus == null) {
			if (other.prodCompstatus != null)
				return false;
		} else if (!prodCompstatus.equals(other.prodCompstatus))
			return false;
		if (projEndtime == null) {
			if (other.projEndtime != null)
				return false;
		} else if (!projEndtime.equals(other.projEndtime))
			return false;
		if (projId == null) {
			if (other.projId != null)
				return false;
		} else if (!projId.equals(other.projId))
			return false;
		if (projName == null) {
			if (other.projName != null)
				return false;
		} else if (!projName.equals(other.projName))
			return false;
		if (projStarttime == null) {
			if (other.projStarttime != null)
				return false;
		} else if (!projStarttime.equals(other.projStarttime))
			return false;
		if (projStatus == null) {
			if (other.projStatus != null)
				return false;
		} else if (!projStatus.equals(other.projStatus))
			return false;
		if (qualityspecId == null) {
			if (other.qualityspecId != null)
				return false;
		} else if (!qualityspecId.equals(other.qualityspecId))
			return false;
		if (qualityspecName == null) {
			if (other.qualityspecName != null)
				return false;
		} else if (!qualityspecName.equals(other.qualityspecName))
			return false;
		if (qualityspecNameEng == null) {
			if (other.qualityspecNameEng != null)
				return false;
		} else if (!qualityspecNameEng.equals(other.qualityspecNameEng))
			return false;
		if (qualityspecNameSpel == null) {
			if (other.qualityspecNameSpel != null)
				return false;
		} else if (!qualityspecNameSpel.equals(other.qualityspecNameSpel))
			return false;
		if (qualityspecStatus == null) {
			if (other.qualityspecStatus != null)
				return false;
		} else if (!qualityspecStatus.equals(other.qualityspecStatus))
			return false;
		if (recpInfoId == null) {
			if (other.recpInfoId != null)
				return false;
		} else if (!recpInfoId.equals(other.recpInfoId))
			return false;
		if (refPrice == null) {
			if (other.refPrice != null)
				return false;
		} else if (!refPrice.equals(other.refPrice))
			return false;
		if (retailPriceLimit == null) {
			if (other.retailPriceLimit != null)
				return false;
		} else if (!retailPriceLimit.equals(other.retailPriceLimit))
			return false;
		if (returnCount == null) {
			if (other.returnCount != null)
				return false;
		} else if (!returnCount.equals(other.returnCount))
			return false;
		if (specName == null) {
			if (other.specName != null)
				return false;
		} else if (!specName.equals(other.specName))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (totalAmount == null) {
			if (other.totalAmount != null)
				return false;
		} else if (!totalAmount.equals(other.totalAmount))
			return false;
		if (unitName == null) {
			if (other.unitName != null)
				return false;
		} else if (!unitName.equals(other.unitName))
			return false;
		if (updTime == null) {
			if (other.updTime != null)
				return false;
		} else if (!updTime.equals(other.updTime))
			return false;
		if (updUser == null) {
			if (other.updUser != null)
				return false;
		} else if (!updUser.equals(other.updUser))
			return false;
		if (useRange == null) {
			if (other.useRange != null)
				return false;
		} else if (!useRange.equals(other.useRange))
			return false;
		if (userId == null) {
			if (other.userId != null)
				return false;
		} else if (!userId.equals(other.userId))
			return false;
		return true;
	}
	
	
	
}
